package com.payment.config;

import com.common.handler.CommonRestControllerAdvice;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author dzh
 * @date 2023/1/9 10:58
 */
@Configuration
public class CommonConfiguration {

    @Bean
    public CommonRestControllerAdvice commonRestControllerAdvice() {
        return new CommonRestControllerAdvice();
    }
}
